package Thread;

public class Dom11 {
    public static void main(String[] args) throws InterruptedException {
        Thread t=new Thread(()->{
            System.out.println("hello thread");
        });
        t.start();
        Thread.sleep(1000);
        //内核当中的线程已经结束了（工作结束了）
        System.out.println(t.getState());
    }
}
